How do you make link additions or modifications affect change bars

Is there a way to make link additions or modifications affect an object's change bars?
SarahW - Tue Oct 16 13:44:21 EDT 2012

Re: How do you make link additions or modifications affect change bars
llandale - Tue Oct 16 14:02:35 EDT 2012

Here's a sloppy solution.
  • Have string attr "LinkInfo" with properties History/ChangeBars/ChangeDates
  • Have string attr-DXL "dxlLinkInfo"
    • Loops through outgoing links, generates a string of the number of links and the last modified date of the links
    • Set the output value
    • if we canWrite to attr "LinkInfo" then do so. Ths should trigger change bar updates if you changed any such links.
  • After modifying links, re-calculate all attr-DXL.

I wonder if you could use Suspect Links somehow.

-Louie

Re: How do you make link additions or modifications affect change bars
rmoskwa - Wed Oct 17 13:45:35 EDT 2012

BTW, this can be also done without a DXL.

On the formal module's menu bar do File->Module Properties... look for the Link History section at the bottom of the General-tab, and check the "Generate history for the creation and deletion of links" check box.